package com.recipedb.recipedb.service;

import com.recipedb.recipedb.entity.Tag;
import java.util.List;
import java.util.Optional;

public interface TagService {
    Tag save(Tag entity);
    void deleteById(Long id);
    Optional<Tag> findById(Long id);
    List<Tag> findAll();

    List<Tag> findByRecipeId(Long recipeId);

}
